﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AP.Framework.Infrastructure.Entities
{
    public class cms_Contact
    {
        public int ID { get; set; }
        [Required(ErrorMessage = "地址不能为空!")]
        [StringLength(255, ErrorMessage = "长度不能超过255个字符!")]
        public string Address { get; set; }
        //联系人
        public string ContactPerson { get; set; }
        [Required(ErrorMessage = "电话不能为空!")]
        public string Tel { get; set; }
        [Required(ErrorMessage = "传真不能为空!")]
        public string Fax { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public string QQ { get; set; }
        public string Msn { get; set; }
        public string ZipCode { get; set; }
        public string Account { get; set; }
        public string Content { get; set; }
    }
}
